<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{})">

    <title>点餐列表</title>
    <link rel="icon" th:href="@{/assets/img/lcxm.ico}" type="image/ico">
    <link rel="stylesheet" th:href="@{/assets/css/common.css}">
</head>
<body class="body">
<!--导航-->
<div th:replace="common/nav :: nav(true)"></div>
<div class="container">
    <!--<div class="page-header" style="margin-top: 20px;top:50%;">
        <h1 class="text-primary">凯捷科技 <small>简易点餐</small></h1>
    </div>-->
    <div class="row row-nocol">

        <input id="wsUrl" th:value="${wsUrl}" type="hidden"/>
        <form class="form" method="post" role="form">

            <div class="well well-sm ">
                <p class="text-danger">SELECT * FROM t_stl_s_attachment a WHERE 1= 1
                </p>
                <div class="form-group">
                    <textarea class="form-control" placeholder="请填写过滤条件"></textarea>
                </div>
                <div class="form-group"
                >
                    <input class="form-control" id="target" placeholder="请输入目标文件夹" type="text">
                </div>
            </div>


            <div class="form-group form-btn-bar pull-right">
                <button class="btn btn-primary btn-sm" id="check" type="button">
                    <i class="glyphicon glyphicon-search"></i> 检验SQL
                </button>
                <button class="btn btn-info btn-sm " id="handle" type="button">
                    <i class="glyphicon glyphicon-refresh"></i> 开始处理
                </button>
            </div>

        </form>


    </div>


    <div class="row">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">

                    <button class="btn btn-primary btn-sm" onclick="cleanMsg();" type="button">清除控制台</button>
                    <button class="btn btn-success btn-sm" onclick="closeWebSocket();" type="button">关闭连接</button>
                    <span style="margin-left:5em;"></span><strong></strong>处理结果 <span
                        style="width: 30px">&nbsp;</span>
                </h3>
            </div>
            <div class="panel-body">
                <div id="filelog-container"
                     style="height: 500px; overflow-y: scroll; background: #333; color: #aaa; padding: 10px;">
                    <div id="message">

                    </div>
                </div>
            </div>
        </div>
    </div>


</div>

<!-- 引入通用js-->
<div th:replace="common/footer :: footer"></div>
<script th:src="@{/js/attachment.js}"></script>
</body>
</html>